const user = {
  path: '/user',
  name: 'User',
  component: resolve => require(['@/views/user/index.vue'], resolve),
  meta: {
    name: '个人中心',
    keepAlive: false,
    // roles: [1, 2, 8, 16, 32, 64, 128, 256, 512]
  },
  // redirect: {
  //   name: 'Bind'
  // },
  // children: [
  //   {
  //     path: 'bind',
  //     name: 'Bind',
  //     component: resolve => require(['@/views/user/user/userInfo/accountBind'], resolve),
  //     meta: {
  //       name: '个人中心',
  //       keepAlive: false
  //     }
  //   },
  //   {
  //     path: 'info',
  //     name: 'userInfo',
  //     component: resolve => require(['@/views/user/user/userInfo/userInfo'], resolve),
  //     meta: {
  //       name: '个人信息',
  //       keepAlive: false,
  //       roles: [2, 32, 64, 128, 256, 512]
  //     }
  //   },
  //   // {
  //   //   path: 'choose',
  //   //   name: 'Choose',
  //   //   component: resolve => require(['@/views/user/choose/choose'], resolve)
  //   // },
  // ],
}

export default user